<?php 
	//引入
	include './mem.class.php';

	$memcached = Mem::getInstance();



	$str = 12346;
	$str = array('id');

	// is_scalar 检查是否为标量
	$aaa = is_scalar($str) ? (string)$str : $str;

	print_r($aaa);die;


	$info = '';
	if( !$memcached->get( 'user_name' ) ){
		$info = 'henly';
		$memcached->set('user_name',$info);
	}



	



	print_r($memcached->get(array('henly','user_name')));

	$memcached->set('henly',array('id'=> 11,'aaa'=> 'fsdlafjaldsf'));

	$memcached->set('user_name','henly');


	//
	//
	//


?>
